package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@TableName("machine_equipment")
public class MachineEquipment {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String cardNumber;
    private String cardCreator;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createDate;
    private String machineName;
    private String specificationModel;
    private String machineSerialNumber;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date purchaseDate;
    private String warrantyPeriod;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date scrapDate;
    private String manufacturerName;
    private String manufacturerPhone;
    private String manufacturerFax;
    private String manufacturerAddress;
    private String manufacturerRemark;
    private String agentName;
    private String agentPhone;
    private String agentFax;
    private String agentAddress;
    private BigDecimal purchasePrice;
    private String agentRemark;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
}